
  <template>
<!--  父容器  -->
    <el-container>
      <el-header
          style="background-color: #0aa1ed;color: #fff;
          font-size: 30px;font-weight: bold; line-height: 60px;">
        智慧车辆管理系统-IVOS</el-header>
      <!--    子容器    -->
      <el-container>
<!--    左侧侧边栏    -->
        <el-aside width="200px">
          <el-menu>
          <el-menu-item index="1">用户管理</el-menu-item>
           <el-menu-item index="2">车辆管理</el-menu-item>
           <el-menu-item index="3">围栏管理</el-menu-item>
          </el-menu>
        </el-aside>
<!--    右侧主体内容    -->
        <el-main>
          <el-table :data="addcar">
          <el-table-column type="index" label="序号" align="center"></el-table-column>
          <el-table-column label="品牌" prop="name" align="center"></el-table-column>
          <el-table-column label="型号" prop="model" align="center"></el-table-column>
          <el-table-column label="车牌号" prop="license" align="center"></el-table-column>
          <el-table-column label="颜色" prop="color" align="center"></el-table-column>
          <el-table-column label="公里数" prop="km" align="center"></el-table-column>
          </el-table>
        </el-main>
      </el-container>
    </el-container>

</template>


<script setup>
import {ref} from "vue";

const addcar=ref([
    {name:"奥迪",model:"A6L",license:'京A888888',color:"黑色",km:"10000"},
    {name:"奥迪",model:"A6L",license:'京A888888',color:"黑色",km:"10000"},
    {name:"奥迪",model:"A6L",license:'京A888888',color:"黑色",km:"10000"},
    {name:"奥迪",model:"A6L",license:'京A888888',color:"黑色",km:"10000"},
    {name:"奥迪",model:"A6L",license:'京A888888',color:"黑色",km:"10000"},
    {name:"奥迪",model:"A6L",license:'京A888888',color:"黑色",km:"10000"}
])
</script>


<style scoped>

</style>